package com.dormitory.service;

import com.dormitory.model.Room;
import java.util.List;

public interface RoomService {
    boolean addRoom(Room room);
    boolean updateRoom(Room room);
    boolean deleteRoom(Integer roomId);
    Room getRoomById(Integer roomId);
    List<Room> getAllRooms();
    List<Room> getRoomsByBuildingId(Integer buildingId);
    List<Room> searchRooms(String condition);
} 